package com.letsiot.applications.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.letsiot.applications.entity.SysUserAuths;

@Repository
public interface SysUserAuthsMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysUserAuths record);

    int insertSelective(SysUserAuths record);

    SysUserAuths selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUserAuths record);

    int updateByPrimaryKey(SysUserAuths record);

    List<SysUserAuths> getAll();

    SysUserAuths findByIdentifier(String identifier);

    List<SysUserAuths> findByUserId(Long userId);
}